package cards;

/**
 * @enum Rank for the rank of a card
 * 
 * @author vlada
 */
public enum Rank {
    SEDM,
    OSM,
    DEVET,
    DESET,
    SPODEK,
    SVRSEK,
    KRAL,
    ESO;
    
    public int getIntValue() {
        switch (this) {
            case SEDM : return 7;
            case OSM : return 8;
            case DEVET : return 9;
            case DESET : return 10;
            case SPODEK : return 11;
            case SVRSEK : return 12;
            case KRAL : return 13;
            case ESO : return 14;
            default : return -1;
        }
    }
   
}
